import {request} from "@/network/request";

//职位管理
//列表
export const JobList = (params) => {
    return request({
        url:'/api/boss/job/list',
        method:'get',
        params
    })

}
//新增
export const JobStore = (data) => {
    return request({
        url:'/api/boss/job/store',
        method:'post',
        data
    })

}

//更新
export const JobUpdate = (data,id) => {
    return request({
        url:'/api/boss/job/update/'+id,
        method:'put',
        data
    })

}
